package ar.com.wholeconsulting.pacc.model.ensayos;

import java.util.Calendar;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @version 1.0
 * @created 06-Dic-2011 21:13:31
 */
@Entity
@Table(name = "PRUEBA_NEUMATICA")
public class PruebaNeumatica extends Ensayo {

    /**
     *
     */
    private static final String TIPO = "Prueba Neumatica";
    private static final long serialVersionUID = -1890441767744157034L;

    public PruebaNeumatica() {
        super(TIPO);
    }

    @Override
    public long getVenicimiento() {
        Calendar calendar = Calendar.getInstance();
        calendar.setTimeInMillis(fechaRealizacion);
        calendar.add(Calendar.YEAR, 2);
        return calendar.getTimeInMillis();
    }
}
